projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649ddbf
)
(xmenu_show) [USE_X_TOOLKIT]: return Qnil when val is null.
author
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 08:52:53 +0000
(08:52 +0000)
committer
Fred Pierresteguy
<F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 08:52:53 +0000
(08:52 +0000)
src/xmenu.c
patch
|
blob
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index 06bc1300402252a1ae335c9197e80167502bfdbc..a2ba24cd86d15a9ce4eb5030bbdedce775013589 100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-879,6
+879,8
@@
xmenu_show (f, val, x, y, menubarp, vw)
XMEventQue *feq_tmp; /* Foreign event queue temporary. */
BLOCK_INPUT;
+ if (val == 0) return Qnil;
+
menu_id = ++popup_id_tick;
menu = lw_create_widget ("popup", val->name, menu_id, val,
f->display.x->widget, 1, 0,